package com.lntea.crawler.bannerdata.service;

import java.util.List;

import com.lntea.crawler.bannerdata.dao.BannerDataDao;
import com.lntea.crawler.entity.BannerData;

public class BannerDataServiceImpl implements BannerDataService{
	
	private BannerDataDao bannerDataDao;
	
	@Override
	public List<BannerData> queryBannerDataByWebsiteId(Long websiteId) {
		List<BannerData> bannerDataList = bannerDataDao.readByWebsiteId(websiteId);
		return bannerDataList;
	}

	public BannerDataDao getBannerDataDao() {
		return bannerDataDao;
	}

	public void setBannerDataDao(BannerDataDao bannerDataDao) {
		this.bannerDataDao = bannerDataDao;
	}

}
